$(document).bind("mobileinit", function () {

	$.mobile.loadingMessage = "Trwa ładowanie";
	$.mobile.loadingMessageTextVisible = true;
	$.mobile.loadingMessageTheme = "a";
	$.mobile.pageLoadErrorMessage = "Wsytąpił nieoczekiwany błąd";
	
	
    // Navigation
    $.mobile.page.prototype.options.backBtnText = "Cofnij";
    $.mobile.page.prototype.options.addBackBtn = false;
    $.mobile.page.prototype.options.backBtnTheme    = "e";

    // Page
    $.mobile.page.prototype.options.headerTheme = "a";  // Page header only
    $.mobile.page.prototype.options.contentTheme = "c";
    $.mobile.page.prototype.options.footerTheme = "a";

    // Listviews
    $.mobile.listview.prototype.options.headerTheme = "a";  // Header for nested lists
    $.mobile.listview.prototype.options.theme = "c";  // List items / content
    $.mobile.listview.prototype.options.dividerTheme = "d";  // List divider

    $.mobile.listview.prototype.options.splitTheme = "c";
    $.mobile.listview.prototype.options.countTheme = "c";
    $.mobile.listview.prototype.options.filterTheme = "c";
    $.mobile.listview.prototype.options.filterPlaceholder = "Filtrowanie danych...";
});